:root {
  --color-main: #40404c;
  --color-accent: #fc5832;
  --color-bg: #fff;
  --color-grey: #f5f5f5;
  --color-border: #e4e4e4;
  --color-card-bg: #f9f9fa;
  --color-btn1: #67b9eb;
  --color-btn2: #86d864;
  --color-panel: #f86442;
  --radius: 4px;
  --radius-lg: 20px;
  --shadow: 0 2px 2px 0 rgb(0 0 0 / 10%);
  --transition: all 0.5s;
  --font-main: 16px/1.5 "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  --font-size-sm: 12px;
  --font-size-md: 14px;
  --font-size-lg: 20px;
}

/* 基础通用样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font: var(--font-main); font-size: var(--font-size-md); color: var(--color-main); }
ul, ol, li { list-style: none; }
em, i { font-style: normal; }
a { color: var(--color-main); text-decoration: none; }
a:hover { color: var(--color-accent); }
img { width: 100%; height: 100%; vertical-align: middle; }
input { border: none; outline: none; color: #333; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

.container { width: 1080px; margin: 0 auto; }

/* 头部及导航区 */
.siteHeader { position: relative; z-index: 9; height: 60px; box-shadow: var(--shadow); }
.siteHeader .container { display: flex; align-items: center; background-color: var(--color-bg); }
.brandLogo { margin-right: 10px; width: 154px; height: 60px; }
.brandLogo a { display: block; width: 154px; height: 60px; font-size: 0; background: url("../images/logo.png") no-repeat center / contain; }
.mainNav { position: relative; display: flex; justify-content: space-evenly; margin: 5px; width: 220px; }
.navLink { font-size: 16px; color: #72727b; text-align: center; }
.navLink:hover { color: var(--color-main); }
.navLink .iconfont { display: inline-block; height: 16px; font-size: 15px; color: #ccc; transition: var(--transition); }
.navLink:hover .iconfont { transform: rotate(-180deg); }

/* 频道层 */
.categoryPanel { display: flex; flex-wrap: wrap; position: fixed; top: 60px; left: 50%; z-index: -2; width: 1080px; height: 120px; padding: 10px; margin-left: -540px; color: #72727b; background-color: var(--color-grey); border: 1px solid var(--color-border); border-top: none; transition: var(--transition); transform: translateY(-220px); }
.categoryPanel a { color: var(--color-main); font-size: 13px; line-height: 1.4; display: inline-block; background: #ebebeb; border-radius: 12px; padding: 3px 16px; margin: 15px 15px auto auto; width: 110px; text-align: center; }
.categoryPanel a:hover { color: var(--color-accent); }
.mainNav .dropdownMenu:hover .categoryPanel { transform: translateY(0px); }
.navUnderline { position: absolute; width: 45px; height: 2px; bottom: -7px; left: 21px; background-color: var(--color-accent); transition: all 0.2s linear; }

/* 搜索区 */
.searchBar { width: 300px; }
.searchBar form { position: relative; width: 100%; }
.searchBar form input { width: 100%; height: 40px; padding: 0 20px; border: 1px solid var(--color-panel); border-radius: var(--radius-lg); outline: none; }
.searchBar form input::placeholder { color: #ccc; }
.searchBtn { position: absolute; top: 0; right: 0; width: 60px; height: 40px; line-height: 40px; text-align: center; background-color: var(--color-panel); border-top-right-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); background-image: linear-gradient(to right,rgba(255,255,255,0.3),var(--color-panel)); }
.searchBtn span { font-size: 24px; color: #fff; }
.searchSuggest { position: absolute; top: 40px; left: 0; width: 100%; background-color: var(--color-bg); border: 1px solid var(--color-border); box-shadow: 0 2px 4px rgba(0,0,0,0.1); z-index: 10; display: none; }
.searchSuggest.active { display: block; }
.searchHint { padding: 5px 10px; font-size: var(--font-size-md); color: #999; }
.searchSuggest a { display: block; padding: 5px 10px; font-size: var(--font-size-md); color: #333; text-decoration: none; }
.searchSuggest a:hover { background-color: var(--color-grey); color: var(--color-accent); }

/* 头部图标区 */
.topIcons { display: flex; justify-content: space-evenly; width: 300px; align-items: center; }
.iconEntry { position: relative; text-align: center; }
.uploadPanel { display: none; position: absolute; left: 50%; top: 100%; width: 300px; height: 140px; background-color: var(--color-bg); border-top: 2px solid var(--color-accent); }
.uploadIcons { display: flex; justify-content: space-evenly; align-items: center; height: 80px; }
.uploadIcons .iconEntry { text-align: center; }
.iconEntry .iconfont { font-size: 20px; color: #ccc; }
.iconEntry:hover .iconfont { color: var(--color-accent); }
.entryLabel { display: block; font-size: var(--font-size-sm); color: #72727b; }
.iconEntry img { width: 40px; height: 40px; border-radius: var(--radius-lg); }
.iconEntry.active { position: relative; }
.userLogin { display: none; position: absolute; right: 0; top: 100%; width: 350px; height: 200px; color: #72727b; background-color: var(--color-bg); }
.userInfo { width: 100%; height: 100px; font-size: 16px; line-height: 100px; text-align: left; padding: 0 20px; color: #72727b; background-image: url(../images/beijing5.png); background-size: contain; }
.userIcons p { display: block; text-align: left; font-size: 15px; margin-top: 5px; margin-left: 20px; margin-bottom: 10px; }
.userIcons ul { display: flex; justify-content: space-evenly; }
.userIcons .iconfont {
  color: #ccc !important;
  transition: color 0.3s;
}
.userIcons li:hover .iconfont {
  color: #fc5832 !important;
}
.userIcons li:hover .iconfont { color: #fc5832; }
.iconEntry.active:hover .userLogin { display: block; }
.iconEntry:hover .clientImage {
  display: block;
  border-radius: 0;
}
.clientImage {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 500px;
  height: auto;
  border-radius: 0;
}

.iconEntry:hover .clientImage {
  display: block;
  position: absolute;
  width: 300px;
  height: auto;
}

@keyframes dropdown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* 主体、内容区、侧边栏、卡片、榜单 */
.main {
  padding-top: 20px;
}

.layout {
  display: flex;
  width: 100%;
  padding-top: 20px;
}

.layout-main {
  width: 780px;
}

.panel {
  margin-bottom: 20px;
}

.panel-head {
  display: flex;
  margin-bottom: 20px;
  justify-content: space-between;
}

.panel-head .panel-head-tit {
  position: relative;
  padding-left: 20px;
  font-size: 20px;
  font-weight: normal;
}

.panel-head .panel-head-tit::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 5px;
  height: 15px;
  background-color: var(--color-panel);
  border-radius: 6px;
  content: "";
}

.panel-head .panel-head-toggle {
  color: var(--color-main);
}

.panel-head .panel-head-toggle .iconfont {
  margin-right: 5px;
}

.panel-head .panel-head-toggle:hover {
  color: var(--color-panel);
}

.panel-body ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.panel-body ul li {
  width: 140px;
}

.album-item {
  width: 100%;
}

.album-item .album-item-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.album-item .album-item-box .img {
  width: 100%;
  vertical-align: bottom;
  transition: var(--transition);
}

.album-item .album-item-tit {
  padding: 5px 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-item .album-item-aut {
  font-size: 13px;
  color: #a3a3ac;
}

.album-item .album-item-aut:hover {
  color: var(--color-panel);
}

.album-item .album-item-box::after {
  position: absolute;
  left: 0;
  top: 0;
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5) url(../images/play.png) no-repeat center / 20px;
  opacity: 0;
  transition: var(--transition);
}

.album-item .album-item-box:hover::after {
  opacity: 1;
  background-size: 50px;
}

.album-item .album-item-box:hover img {
  transform: scale(1.1);
}

.layout-aside {
  width: 260px;
  margin-left: 40px;
}

.card {
  margin-bottom: 10px;
  overflow: hidden;
  background-color: var(--color-card-bg);
  border-radius: var(--radius);
}

.card .card-head {
  display: flex;
  height: 70px;
  background: url("../images/beijing3.png") no-repeat center / cover;
  align-items: center;
  justify-content: center;
}

.card .card-head .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.card .card-head .text {
  margin-left: 10px;
  color: #72727b;
}

.card .card-info {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: center;
}

.card .card-info .login {
  padding: 3px 34px;
  color: #fff;
  background-color: #ff7251;
  border-radius: 30px;
  box-shadow: 0 4px 8px 0 rgb(252 88 50 / 50%);
  background-image: linear-gradient(to right,
      rgba(255, 255, 255, 0.2),
      #ff7251);
}

.download {
  display: flex;
  padding: 10px;
  overflow: hidden;
  background: var(--color-card-bg) url("../images/download4.png") no-repeat 4px 25px / 100%;
  border-radius: var(--radius);
  justify-content: space-between;
  align-items: center;
}

.download .dl {
  display: flex;
  flex-wrap: wrap;
}

.download .dl .dl-tit {
  margin-bottom: 10px;
  font-size: 18px;
}

.download .dl .dl-btn {
  width: 68px;
  height: 34px;
  line-height: 34px;
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  background-image: radial-gradient(50px at 10px 10px,
      rgba(255, 255, 255, 0.5),
      transparent);
}

.download .dl .dl-btn:nth-of-type(1) {
  background-color: var(--color-btn1);
}

.download .dl .dl-btn:nth-of-type(2) {
  margin-left: 10px;
  background-color: var(--color-btn2);
}

.download .download-img {
  width: 90px;
  height: 90px;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.content .left {
  width: 780px;
}

.title .title-head {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.title-head .title-head-tit {
  position: relative;
  padding-left: 20px;
  font-size: 20px;
  font-weight: normal;
}

.title-head .title-head-tit::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 15px;
  background-color: var(--color-panel);
  border-radius: 6px;
  content: "";
}

.title-head ul {
  margin-left: 20px;
  display: flex;
  flex: 1;
}

.title-head ul li a {
  padding: 0 10px;
  border-right: 2px solid #e8e8e8;
}

.title-head li:last-child a {
  border-right: 0;
}

.title-head .title-head-toggle {
  color: var(--color-main);
}

.title-head .title-head-toggle:hover {
  color: var(--color-panel);
}

.content .right {
  width: 260px;
  height: 488px;
  margin-left: 40px;
  background: var(--color-bg);
  padding: 0 0 10px;
}

.right .list-tit {
  font-size: 20px;
  line-height: 28px;
  color: #333;
  margin-bottom: 10px;
}

.list-items {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
  color: var(--color-main);
  text-decoration: none;
  outline: 0;
  cursor: pointer;
}

.list-items:hover {
  color: var(--color-panel);
}

.list-items-img {
  flex-shrink: 0;
  position: relative;
  margin-right: 20px;
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
}

.list-items-img .img {
  line-height: 80px;
  border-radius: var(--radius);
}

.list-items .list-items-img::after {
  position: absolute;
  left: 0;
  top: 0;
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5) url(../images/play.png) no-repeat center / 20px;
  opacity: 0;
  transition: var(--transition);
}

.list-items .list-items-img:hover::after {
  opacity: 1;
  background-size: 35px;
}

.list-items .list-items-img:hover img {
  transform: scale(1.1);
}

.list-items .list-items-txt {
  width: 170px;
  text-overflow: ellipsis;
}

.list-items .list-items-tit {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  max-width: 100%;
  color: var(--color-main);
  font-weight: 700;
}

.list-items .list-items-aut {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  max-width: 100%;
  color: #a3a3ac;
  margin-top: 3px;
}

.list-items .num {
  display: inline-block;
  width: 15px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  line-height: 20px;
  text-align: left;
  color: #a3a3ac;
}

.list-items .list-items-text {
  width: 100%;
  text-overflow: ellipsis;
}

.list-items-desc {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.list-items.no-img .list-items-img {
  display: none; 
}

.list-items.no-img .num {
  display: inline-block;
  width: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-right: 10px;
}

.right .list-items.no-img {
  display: flex;
  align-items: flex-start;
  padding: 5px 0; 
}

.right .list-items.no-img .num {
  font-size: 14px; 
  color: #aaa; 
  font-weight: normal; 
  margin-right: 8px; 
}

.right .list-items.no-img .list-items-txt {
  flex: 1;
  line-height: 1.5;
}

.right .list-items.no-img .list-items-txt .list-items-desc {
  font-size: 14px;
  color: #333;
}

.right .list-items.no-img .list-items-txt .list-items-author {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

#audiobook-categories a.active {
  color: #fc5832;
  font-weight: bold;
  border-bottom: 2px solid #fc5832;
}

#audiobook-categories a,
#audiobook-categories a:visited,
#audiobook-categories a:active,
#audiobook-categories a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

